<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019-11-04
  Time: 9:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<%--<%@ taglib  uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>--%>
<%
    String path = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort();
%>
<html>
  <head>
    <title>连接数据库测试</title>
  </head>
  <body>

        <h1>${msg}</h1>

        <a href="reg.user?username='admin01'&password='admin01'">获取数据</a>


        <%--<h1>过滤器中的参数是:${char}</h1>--%>

        <h1>测试admin的值是${requestScope.admin}</h1>
        <h1>测试admin的值是${sessionScope.admin}</h1>
        <h1>测试admin的值是${applicationScope.admin}</h1>
        <h1>测试admin的值是${pageScope.admin}</h1>
        <%--
             <h1>测试admin的值是${admin}</h1>

             <h1>${"100"+"200"}</h1>--%>

    <%--<c:out value="${admin}"></c:out>--%>
        <%--<jsp:forward page="reg.user"></jsp:forward>--%>
  </body>
</html>
